package com.yuexun.dhdoctor.module.email.adapter;

import android.widget.AbsListView;

import com.yuexun.dhdoctor.R;
import com.yuexun.dhdoctor.module.email.bean.MailMemberBean;

import org.kymjs.kjframe.widget.AdapterHolder;
import org.kymjs.kjframe.widget.KJAdapter;

import java.util.Collection;

/**
 * Created by work-jx on 2016/8/3.
 */
public class ReplyAddMemberAdapter extends KJAdapter<MailMemberBean> {

    public ReplyAddMemberAdapter(AbsListView view, Collection<MailMemberBean> mDatas, int itemLayoutId) {
        super(view, mDatas, itemLayoutId);
    }

    @Override
    public void convert(AdapterHolder adapterHolder, MailMemberBean mailMemberBean, boolean b) {
        adapterHolder.setText(R.id.item_send_addmember_name, mailMemberBean.getUsername());
    }
}
